package org.beetl.json;

import java.util.ArrayList;
import java.util.List;

/**
 * 描述了序列化规则一个loc:action
 * @author xiandafu
 *
 */
public abstract class Location {

	LocationAction action = null;	

	
	public LocationAction getAction() {
		return action;
	}
	public void setAction(LocationAction action) {
		this.action = action;
	}
	
	
	/** 判断是否是此位置
	 * @param type
	 * @param field
	 * @return
	 */
	public abstract boolean match(OutputNode node,Class type, String field);
	


	
	

	



	
	
}
